<div class="faculty-info">
  <h1>Mis Cursos</h1>
  <span class="info">
    <p>Estos son los cursos a los que est&aacute;s suscrito o de los cuales eres profesor o alumno.</p>
  </span>
</div>
<!-- Lista de Ramos -->
<div class="subjects-list">
  <ul>
    <?php foreach($subjects as $subject): ?>
    <li>
      <?php echo anchor('viewsubject/' . url_title($subject['campus_name']) . '/' . url_title($subject['faculty_name']) . '/' . url_title($subject['name']) . '/' . $subject['id_subject'], $subject['name']); ?> de <abbr title="en <?php echo $subject['campus_name']?>"><?php echo $subject['faculty_name']?></abbr> <em>(<?php echo $subject['period'] ?>)</em>
    </li>
    <?php endforeach; ?>
  </ul>
  <?php if( count($subjects) == 0): ?><span class="no-items">No est&aacute;s suscrito a ning&uacute;n curso</span><?php endif; ?>
</div>